package org.young.admin.controller;

import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
import org.young.admin.common.properties.JWTProperties;
import org.young.admin.common.rpc.RpcCommonService;
import org.young.rbac.dao.model.SysUserExample;

/**
 * @author lmhd-emp
 * @date 2021/4/27 14:50
 * @description:
 */
@Api(tags = "Test")
@RestController
@RequestMapping("/")
public class TestController {

	@Autowired RpcCommonService rpcCommonService;

	@RequestMapping
	@ApiOperation(value = "test")
	public Object index() {
		return rpcCommonService.sysUserService.selectByExample(new SysUserExample());
	}
}
